home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17837 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  840 b 

  1. Path: news.sprintlink.net!datalytics!usenet
  2. From: Rob Stewart <stew@datalytics.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: const member functions..
  5. Date: Wed, 17 Apr 1996 15:12:29 -0400
  6. Organization: Datalytics, Inc
  7. Message-ID: <3175429D.46D3@datalytics.com>
  8. References: <4krjlj$spn@canopus.cc.umanitoba.ca>
  9. NNTP-Posting-Host: 204.62.224.71
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (WinNT; I)
  14.  
  15. rdanse@pobox.com wrote:
  16. > What does the const operator do when used at the end of a member
  17. > function declaration in an object class?
  18.  
  19. It declares a const member function, which is a mf that doesn't 
  20. change the state of the object and thus may be used on a const 
  21. object.
  22.  
  23. -- 
  24. Robert Stewart        | My opinions are usually my own.
  25. Datalytics, Inc.    | stew@datalytics.com
  26.